home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Techniques / Color Picker / BackgroundeR / card_3004.txt < prev    next >
Text File  |  1998-05-03  |  1KB  |  34 lines

  1. -- card: 3004 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2602
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 7
  9. ----- text -----
  10. Backgrounder XCMD
  11. ¬©1994 California State University, Long Beach
  12. Written by Brendon Cheves and Jeff Winters
  13. Free for non-commercial use.
  14.  
  15. This XCMD creates a colored window that floats behind your stack. This is useful to keep beginning users from accidentally clicking in the finder and wondering what happened to their stack. It also looks pretty cool. A little red "No" cursor is also displayed when the user passes over the window.
  16.  
  17. Usage is as follows:
  18.  
  19. BackgoundeR |Tint| |Color|
  20.  
  21. All parameters are optional. Passing no parameters will yield a black background.
  22.  
  23. Tint can be (L)ight or (D)ark.
  24.  
  25. Color can be any RGB value stated as "R,G,B" or any of the following constants:
  26. (K)Black, (W)hite, (R)ed, (G)reen, (B)lue, (C)yan, (M)agenta, (Y)ellow.
  27. Black and white do not support light or dark tint parameters.
  28.  
  29. Examples:
  30. BackgroundeR light red
  31. Backgrounder D B (same as BackgroundeR dark blue)
  32. BackgroundeR "65520,34565,12354"
  33.  
  34. To close the BackgroundeR window use: close window "BackgroundeR"